package com.yang.moyu.meta.framework.service.impl;

import com.yang.moyu.meta.framework.domain.IpAddress;
import com.yang.moyu.meta.framework.mapper.IpAddressMapper;
import com.yang.moyu.meta.framework.service.IpAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Create by 10296 on 2021/12/16
 *
 * @Description:
 */
@Service
public class IpAddressServiceImpl implements IpAddressService {

    @Autowired
    private IpAddressMapper ipAddressMapper;


    @Override
    public IpAddress queryAreaByIp(String ip) {

        return ipAddressMapper.queryAreaByIp(ip);
    }

}
